package neu.soft.entity.DO;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReceiptJournal {

    //将Long转换为字符串发给前端
    @JsonSerialize(using = ToStringSerializer.class)
    private Long journalId;
    private String oid;
    private BigDecimal totalPay;
    private String userName;

}
